Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Ambient Light

Labels

ASCII
AmbientLight
Binary
ambn ( = 0x616D626E )

Data Format

No data.

Data Size

0

Description

Ambient light is a base amount of light that is added to the illumination of all surfaces in a scene. Ambient light has no apparent source or location; its intensity is constant, and it does not cast shadows.

Parent Hierarchy

Shared, shape, light.

Parent Objects

None.

Child Objects

Light data (optional). If no child object is specified, the light should have the properties specified in the default setting of a light data object.

Example

Container (
    ViewHints ( )
    .
    .
    .
    BeginGroup ( DisplayGroup ( ) )
        Container (
            AmbientLight ( )
            LightData ( ... )
        )
        Container (
            DirectionalLight( )
            LightData ( ... )
        )
    EndGroup ( )
)

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |